/* Elements List */
.elementsList {
    display: flex;
    flex-direction: column; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    border-radius: 5px; 
    padding: 10px;
    position: relative; 
}
  
.deleteButton {
    position: absolute; 
    top: 10px; 
    right: 10px; 
}

/* Select */

.selectdiv {
    position: relative;
    width: 90%;
    font-size: 1.15rem;
    display: block;
}
  
.selectdiv:after {
    content: '<>';
    font: 17px "Consolas", monospace;
    color: #333;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 11px;
    top: 18px;
    padding: 0 0 2px;
    border-bottom: 1px solid #999;
    position: absolute;
    pointer-events: none;
}
  
.selectdiv select {
    background-color: #f2f2f2;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 50px;
    float: right;
    margin: 5px 0px;
    padding: 0px 20px;
    font-size: 14px;
    line-height: 1.75;
    color: #333;
    border: 1px solid #cccccc;
    -ms-word-break: normal;
    word-break: normal;
    cursor: pointer;
    border-radius: 12px;
}



/* Checkbox */
.checkbox-container input {
    display: none;
}

.checkbox-container .slider {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.checkbox-container .slider:before {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.checkbox-container input:checked + .slider {
    background-color: #2196F3;
}

.checkbox-container input:checked + .slider:before {
    transform: translateX(20px);
}



/* Textarea */

.inputWrapper {
    position: relative;
}
  
.textareaStyle {
    width: 250px;
    min-height: 50px; 
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    resize: vertical; 
    background-color: #f2f2f2;
    white-space: pre-wrap; 
    text-overflow: inherit;
    overflow: auto;
    word-wrap: break-word;
}
  

/* Add Button */

.addButtonContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 10px;
    margin-bottom: 20px;
}

.addButton {
    color: #ffffff;
    width: 100%;
    height: 30px;
    display: flex;
}

.specialElement {
  display: inline-block;
  background-color: lightblue;
  padding: 3px;
  border: 1px solid blue;
  border-radius: 5px;
  margin-right: 5px;
}

  .user-input {
    display: inline-block;
    background-color: white;
    border: 1px solid black;
    border-radius: 3px;
    padding: 2px 5px;
    cursor: pointer;
    margin: 2px;
    white-space: nowrap; 
    transition: background-color 0.3s ease;
  }

  .user-input:hover {
    background-color: lightcyan;
  }
  
  .inputVarSpan {
    display: inline-block;
    font-size: 12px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    white-space: nowrap;
  }
  
  .nodeLabel {
    color: rgb(77, 71, 71);
  }
  
  .nodeVariable {
    color: blue;
  }
  
  .inputVarSymbol {
    font-size: 9px;
    vertical-align: middle; 
    position: relative;
    bottom: 5px;
  }

  .x-symbol {
    color: blue;
  }
  .star-symbol {
    color: gray
  }

  .divideSymbol {
    display: inline-block;
    width: 1em; 
    text-align: center;
    font-size: 14px; 
    color: black; 
    margin-right: -5px;
    margin-left: -5px;
  }

  .var-not-exist {
    background-color: #cc6e67;
    display: inline-block;
    border: 1px solid black;
    border-radius: 3px;
    padding: 2px 5px;
    cursor: pointer;
    margin: 2px;
    white-space: nowrap; 
    transition: background-color 0.3s ease;
  }

  .var-not-exist:hover {
    background-color: #bb5c5c;
  }

  .var-not-exist::after {
    content: "Such variable does not exist";
    position: absolute;
    background-color: #ff7f7f;
    color: black;
    padding: 8px;
    border-radius: 8px;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .var-not-exist:hover::after {
    visibility: visible;
    opacity: 1;
    bottom: 100%;
    left: 30%;
    transform: translateX(-50%);
  }
